package day2.正则;

public class Test {
    public static void main(String[] args) {
        String reg = "[abc]?";
        reg = "[^abc]*";
        reg="^[\\d]{5}[abc]";
        String s0 = "33356a";
        System.out.println(s0.matches(reg));
    }
}
